package com.karaoke.android.kege.fragment

import android.transition.Explode
import android.transition.Transition
import com.karaoke.android.kege.BR
import com.karaoke.android.kege.R
import com.karaoke.android.kege.vm.MainFragmentViewModel
import com.karaoke.android.library.mvvm.BindingConfig

/**
 * Created by allen on 16-12-9.
 */

class MainFragment : BaseFragment<MainFragmentViewModel>()
{
    override val config: BindingConfig = BindingConfig(R.layout.fragment_main, BR.viewModel)
    override val viewModel: MainFragmentViewModel by lazy { MainFragmentViewModel() }

    override fun getEnterTransition(): Transition = Explode().apply { duration = 300 }
}